package cn.yj.relay.core.service;

import cn.yj.relay.core.entity.Task;
import com.baomidou.mybatisplus.extension.service.IService;;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.Date;
import java.util.List;
import java.util.Map;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 永健
 * @since 2020-03-03 17:41
 */
public interface ITaskService extends IService<Task> {

    Page<Task> findList(Map<String,Object> map,Page<Task> page);

    Map<Object,Object>  countDataByEmpId(Integer userId);

    Map<Object,Object>  countDataAllUser();

    List<Map<String,Object>> sumEmpRoYalMoney(Date startTime, Date endTIme, Integer empId);
}
